package com.ruoyi.course.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 课程信息对象 course_all
 *
 * @author mac
 * @date 2023-03-11
 */
public class CourseAll extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    private Long id;

    /**
     * 课程名
     */
    @Excel(name = "课程名") private String courseName;

    /**
     * 任课老师
     */
    @Excel(name = "任课老师") private String courseTeacher;

    private String coursePart;

    private Long coursePartId;

    public String getCoursePart() {
        return coursePart;
    }

    public void setCoursePart(String coursePart) {
        this.coursePart = coursePart;
    }

    public Long getCoursePartId() {
        return coursePartId;
    }

    public void setCoursePartId(Long coursePartId) {
        this.coursePartId = coursePartId;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }

    public String getCourseName() {
        return courseName;
    }

    public void setCourseTeacher(String courseTeacher) {
        this.courseTeacher = courseTeacher;
    }

    public String getCourseTeacher() {
        return courseTeacher;
    }

    @Override public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("id", getId())
            .append("courseName", getCourseName()).append("courseTeacher", getCourseTeacher()).toString();
    }
}
